package com.star.bookstore.product.dao;

import com.star.bookstore.product.entity.AttrEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 书本的属性表
 * 
 * @author wuLiFei
 * @email wuLiFei.@gmail.com
 * @date 2021-03-07 11:04:13
 */
@Mapper
public interface AttrDao extends BaseMapper<AttrEntity> {

    AttrEntity selectByCategoryId(@Param("bookId") Long bookId);
}
